require_once( 'LdapAuthentication.php' );
$wgAuth = new LdapAuthenticationPlugin();
$wgLDAPDomainNames = array( "cgstl" );
$wgLDAPServerNames = array( "cgstl"=>"127.0.0.1");
$wgLDAPSearchStrings = array( "cgstl"=>"uid=USER-NAME,ou=user,ou=stl,dc=nothing,dc=cn");
$wgLDAPUseSSL = false;
$wgLDAPUseLocal = true;
$wgLDAPAddLDAPUsers = false;
$wgLDAPUpdateLDAP = false;
$wgLDAPMailPassword = false;
$wgLDAPRetrievePrefs = false;
$wgMinimalPasswordLength = 1;

$wgGroupPermissions['*'    ]['createaccount']   = false;
$wgGroupPermissions['*'    ]['read']            = true;
$wgGroupPermissions['*'    ]['edit']            = false;
#$wgWhitelistRead = array( "Main Page", "Special:Userlogin" );
#$wgGroupPermissions['*'    ]['read']            = false;

$wgEnableUploads        = true;
$wgUseImageResize       = false;
$wgFileExtensions = array( 'png', 'gif', 'jpg', \
	'jpeg', 'txt', 'bin', 'rpm', 'pdf', 'java', \
	'doc', 'ppt', 'tar.gz', 'zip', 'rar' );
$wgVerifyMimeType = false;
$wgStrictFileExtensions = false;
$wgCheckFileExtensions = false;

$wgLocalTZoffset = 8;
